package com.erpoa.service.impl;

import com.erpoa.dto.ResultBean;
import com.erpoa.dto.UserDetails;
import com.erpoa.service.SessionManager;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: jamin.chen
 * @createDate: 2020/1/6 13:42
 * @version: 1.0
 */
@Service
public class SessionManagerImpl implements SessionManager {

    @Override
    public ResultBean login(String username, String password) {
        UserDetails userDetails = new UserDetails();
        userDetails.setUsername("185469");
        userDetails.setPassword("454545");
         return ResultBean.success(userDetails);
    }
}
